/*
 * @Author       : Hejh(3010733382@qq.com)
 * @Version      : V1.0
 * @Date         : 2024-02-21 11:58:15
 * @Description  : 权限相关接口
 */

import type { PermissionPageRes, PermissionReq } from '@/types/permission'
import request from '@/utils/request'

// 分页查询权限列表
export const getPermissionByPage = (params?: PermissionReq) => {
  return request.get<PermissionPageRes>('/permission/list', { params })
}
